Optimal. Leaf size=20 \[ -\frac {\left (b x^n\right )^p}{(1-n p) x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {15, 30}
\begin {gather*} -\frac {\left (b x^n\right )^p}{x (1-n p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 30
Rubi steps
\begin {align*} \int \frac {\left (b x^n\right )^p}{x^2} \, dx &=\left (x^{-n p} \left (b x^n\right )^p\right ) \int x^{-2+n p} \, dx\\ &=-\frac {\left (b x^n\right )^p}{(1-n p) x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 18, normalized size = 0.90 \begin {gather*} \frac {\left (b x^n\right )^p}{(-1+n p) x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 19, normalized size = 0.95
method | result | size |
gosper | \(\frac {\left (b \,x^{n}\right )^{p}}{x \left (n p -1\right )}\) | \(19\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.32, size = 19, normalized size = 0.95 \begin {gather*} \frac {b^{p} {\left (x^{n}\right )}^{p}}{{\left (n p - 1\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 22, normalized size = 1.10 \begin {gather*} \frac {e^{\left (n p \log \left (x\right ) + p \log \left (b\right )\right )}}{{\left (n p - 1\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \begin {cases} \frac {\left (b x^{n}\right )^{p}}{n p x - x} & \text {for}\: n \neq \frac {1}{p} \\\int \frac {\left (b x^{\frac {1}{p}}\right )^{p}}{x^{2}}\, dx & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.05 \begin {gather*} \int \frac {{\left (b\,x^n\right )}^p}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________